package com.yonyou.crm.sys.dynamic.rmimpl;


import org.springframework.beans.factory.annotation.Autowired;

import com.yonyou.crm.sys.dynamic.entity.DynamicVO;
import com.yonyou.crm.sys.dynamic.impl.DynamicServiceImpl;
import com.yonyou.crm.sys.dynamic.rmitf.IDynamicRmService;

public class DynamicRmServiceImpl implements IDynamicRmService{

	@Autowired
	DynamicServiceImpl service; 
	@Override
	public void insert(DynamicVO vo, Long[] followers) {
		service.insert(vo, followers);
	}

	@Override
	public DynamicVO[] getDynamic(Long userId,Long roleId,int pageIndex,int pageSize) {
		return service.getDynamic(userId,roleId, pageIndex, pageSize);
	}

	@Override
	public DynamicVO[] getBusiDynamic(Long objType, Long objId) {
		return service.getBusiDynamic(objType, objId);
	}

	@Override
	public DynamicVO[] getMyDynamic(Long userId) {
		return service.getMyDynamic(userId);
	}

}
